#coding = utf-8
import sys,os,re,urllib,urllib2,datetime,time
try:
    from db import SqliteDb
    from publib import lib
    
except:
    print "import module error"
    sys.exit()


class info():
    """
    http://cgi.data.astro.qq.com/astro/next.php?act=astro&qastro=白羊&qtype=nweek&qtime=20110501
    """
    _rUrl = None
    def __init__ (self):
        pass
    def loadRemote (self):
        pass
    def setRemoteUrl (self,remoteUrl = None):
        pass
    def getRemoteUrl (self):
        return self._rUrl
    def parserData (self):
        return "<this is just a ab method>"
class infoday(info):
    def __init__ (self):
        pass
    @classmethod
    def parserData (self):
        return info().parserData()
class infoweek(info):
    def __init__ (self):
        pass
class infomonth(info):
    def __init__ (self):
        pass
class infoyear(info):
    def __init__ (self):
        pass

if __name__=="__main__":
    print infoday().parserData()
    tday = infoday()
    print tday.parserData()
    print tday.parseurl(data, start, end, hint)


    
        
    
        
    
        
        